package com.bookmarket.controller;

import com.bookmarket.entity.User;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;


@Controller
@RequestMapping("/user")
public class UserController {


    @RequestMapping("/add")
    public ModelAndView addUser(User user){
        ModelAndView mv = new ModelAndView();
        mv.setViewName("pages/succ.ftl");
        return mv;
    }
}
